package com.crm.service.customerManager;

import com.crm.model.entity.customerManager.CustomerRawData;
import com.crm.model.qo.customerManager.CustomerRawDataQO;
import com.crm.model.vo.customerManager.CustomerRawDataVO;

import java.util.List;

/**
 * @ Author ：pym
 * @ Date   ：2021/7/12 9:03
 */
public interface CustomerRawDataDbService {

    /**
     * 根据统一社会信用代码查询所有人
     * @Author pym
     * @Date  2021/7/12 10:39
     * @param unifiedSocialCreditCode 统一社会信用代码
     * @return {@link {java.util.List<com.crm.model.entity.customerManager.CustomerRawData>}}
     */
    List<CustomerRawData> selectCustomerOwnerByUnifiedSocialCreditCode(String unifiedSocialCreditCode);

    /**
     * 新增客户原始数据
     * @Author pym
     * @Date  2021/7/13 14:21
     * @param customerRawData 客户原始数据
     * @return {@link {java.lang.Boolean}}
     */
    Boolean insertCustomerRawData(CustomerRawData customerRawData);

    /**
     * 客户原始数据
     * @Author pym
     * @Date  2021/7/20 11:03
     * @param customerRawDataQO -查询条件
     * @return {@link {java.util.List<com.crm.model.vo.customerManager.CustomerRawDataVO>}}
     */
    List<CustomerRawDataVO> selectCustomerRawDataList(CustomerRawDataQO customerRawDataQO);
}
